package string;

public class ReplaceAllDemo {
    public static void main(String[] args) {
        String line = "我操，你个大傻逼，你他妈智障患儿，跟个脑瘫似的";
        line = line.replaceAll("[操|傻逼|妈|尼玛|屎|智障|脑瘫]+","**");
        System.out.println(line);
    }
}
